import React, { PureComponent } from "react"
import Styles from '@/scss/froms.scss'
import { Menu, Dropdown } from 'antd';
import {
  SmallDashOutlined
} from '@ant-design/icons';
//list的批量选择
class Batch extends PureComponent<any, any>{
  //下拉列表内容 此处可以拓展,所以使用item组件
  menu = (
    <Menu>
      <Menu.Item onClick={()=>this.props.handleBatchdel()} className={Styles.dropI}>
       批量选择
      </Menu.Item>
    </Menu>
  );


  render() {

    return (
      <div   >
        <Dropdown overlay={this.menu} placement="bottomRight" arrow >
          <SmallDashOutlined />
        </Dropdown>
      </div>
    )
  }
}



export default Batch